<div class="brand myStyle1">

	<section class="allBrand">
		<h4>已定义的品牌：</h4>
		<span class="label label-default" ng-repeat="brand in top_Brand" title="描述：{{brand.description}}">{{brand.name}}</span>
	</section>

	<section class="addBrand" ng-controller="addBrand">
		<h4>添加一种品牌：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label for="brandName">品牌</label>
				<input type="text" class="form-control" id="brandName" placeholder="森马" ng-model=brandName>
			</div>
			<div class="form-group">
				<label for="brandDescription">描述</label>
				<input type="text" class="form-control" id="brandDescription" ng-model="brandDescription">
			</div>
			<button class="btn btn-default" ng-click="addBrand(); refresh_Brand();">添 加</button>
		</form>
	</section>

	<section class="deleteBrand" ng-controller="deleteBrand">
		<h4>删除一种品牌：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label>品牌</label>
				<select class="form-control" ng-model="brandId" ng-options="brand.brandId as brand.name for brand in top_Brand">
					<option value="">--请选择--</option>
				</select>
			</div>
			<button class="btn btn-default" ng-click="deleteBrand(); refresh_Brand();">删 除</button>
		</form>
	</section>

	<section class="modifyBrand" ng-controller="modifyBrand">
		<h4>修改一种品牌：</h4>
		<form class="form-inline">
			<div class="form-group">
				<label>品牌</label>
				<select class="form-control" ng-model="brandId" ng-options="brand.brandId as brand.name for brand in top_Brand">
					<option value="">--请选择--</option>
				</select>
			</div>
			<div class="form-group">
				<label for="brandName2">品牌</label>
				<input type="text" class="form-control" id="brandName2" placeholder="森马" ng-model=brandName>
			</div>
			<div class="form-group">
				<label for="brandDescription2">描述</label>
				<input type="text" class="form-control" id="brandDescription2" ng-model="brandDescription">
			</div>
			<button class="btn btn-default" ng-click="modifyBrand(); refresh_Brand();">修 改</button>
		</form>
	</section>	

</div>
